﻿using System.Linq;
using ZBJF.Warranty.Model;

namespace ZBJF.Warranty.IBLL
{
    public partial interface IInsuranceProductSellerProductsSnapshootService
    {
        /// <summary>
        /// 产品订单的产品快照（保险卡）
        /// </summary>
        /// <param name="insuranceProductOrderID">销售订单ID</param>
        /// <param name="insuranceProductOrderNo">订单号</param>
        /// <param name="sellerInsuranceProductID">保险卡产品</param>
        /// <returns></returns>
        bool CreateSnapshoot(long insuranceProductOrderID, string insuranceProductOrderNo, long sellerInsuranceProductID);

        IQueryable<InsuranceProductSellerProductsSnapshoot> GetSellerProductsSnapshoot(string insuranceProductOrderNo,
            long insuranceProductID);
    }
}